﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AssignmentDetails.ascx.cs"
    Inherits="TempEmployees.Web.AssignmentDetails" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="~/UserControls/DataDisplay/DisplayTextBox.ascx" TagName="DisplayTextBox"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/DataDisplay/DisplayDropList.ascx" TagName="DisplayDropList"
    TagPrefix="uc2" %>
<%@ Register Src="~/UserControls/DataDisplay/DisplayTestboxOptionRB.ascx" TagName="DisplayTestboxOptionRB"
    TagPrefix="uc3" %>
<table style="margin-left:auto; direction:rtl; width:100%">
    <tr>
        <td>
            <table>
                <tr>
                    <td colspan="2" class="AssignmentDetails-style3">
                        <asp:Panel ID="PanelAssignmentErrors" runat="server" Visible="false">
                            <div class="errorsStyle">
                                <asp:Label ID="LabelError" runat="server" Style="color: #FF0000"></asp:Label>
                            </div>
                            <br />
                        </asp:Panel>
                    </td>
                </tr>
                <tr>
                    <td class="AssignmentDetails-style1">
                        <asp:Label ID="LabelAssignmentId" runat="server" Text="מספר העסקה:" Visible="False"></asp:Label>
                    </td>
                    <td class="AssignmentDetails-style2">
                        <asp:Label ID="LabelDisplayID" runat="server" Visible="False"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="AssignmentDetails-style1">
                        <asp:Label ID="LabelEmployer" runat="server" Text="מעסיק:"></asp:Label>
                    </td>
                    <td class="AssignmentDetails-style2">
                        <uc2:DisplayDropList ID="DataDisplayEmployer" runat="server" TabIndex="53" Required="true"
                            DisplayName="מעסיק" />
                    </td>
                </tr>
                <tr>
                    <td class="AssignmentDetails-style1">
                        <asp:Label ID="Label1" runat="server" Text="סוג תקציב:"></asp:Label>
                    </td>
                    <td class="AssignmentDetails-style2">
                        <uc2:DisplayDropList ID="DataDisplayBudgetType" runat="server" TabIndex="56" Required="true"
                            DisplayName="סוג תקציב" />
                    </td>
                </tr>
                <tr>
                    <td class="AssignmentDetails-style1">
                        <asp:Label ID="Label2" runat="server" Text="תקציב לחיוב:"></asp:Label>
                    </td>
                    <td class="AssignmentDetails-style2">
                        <uc2:DisplayDropList ID="DataDisplayBudgetNumber" runat="server" TabIndex="62" OptionalLabelText="תקציב חדש: "
                            Required="true" DisplayName="תקציב לחיוב" />
                    </td>
                </tr>
                <tr>
                    <td class="AssignmentDetails-style1">
                        <asp:Label ID="Label3" runat="server" Text="שכר לשעה" Font-Bold="true"></asp:Label>
                    </td>
                    <td class="AssignmentDetails-style2">
                        <uc3:DisplayTestboxOptionRB ID="DataDisplaySalary" runat="server" TabIndex="60" DefaultRadioButtonText="שכר סטודנט"
                            ExtraInfo="ש&quot;ח" OptionRadioButtonText="אחר" Required="true" DisplayName="שכר לשעה" ValidationType="Salary" />
                    </td>
                </tr>
                <tr>
                    <td class="AssignmentDetails-style1">
                        <asp:Label ID="Label5" runat="server" Text="שעות חודשיות:" Font-Bold="true"></asp:Label>
                    </td>
                    <td class="AssignmentDetails-style2">
                        <uc1:DisplayTextBox ID="DataDisplayMonthlyHours" runat="server" TabIndex="68" AutoPostBack="false" Required="true" DisplayName="שעות חודשיות" ValidationType="MonthlyHours" />
                    </td>
                </tr>
                <tr>
                    <td class="AssignmentDetails-style1">
                        <asp:Label ID="LabelSemester" runat="server" Text="סמסטר העסקה:"></asp:Label>
                    </td>
                    <td class="AssignmentDetails-style2">
                        <uc2:DisplayDropList ID="DataDisplaySemester" runat="server" TabIndex="65" AutoPostBack="true" Required="true" DisplayName="סמסטר העסקה" />
                    </td>
                </tr>
                <tr>
                    <td class="AssignmentDetails-style1">
                        <asp:Label ID="Label6" runat="server" Text="התחלת עבודה:"></asp:Label>
                    </td>
                    <td class="AssignmentDetails-style2">
                        <uc1:DisplayTextBox ID="DataDisplayStartDate" runat="server" TabIndex="71" EnableCalender="true"
                            AutoPostBack="false" Required="true" DisplayName="התחלת עבודה" ValidationType="Date" />
                    </td>
                </tr>
                <tr>
                    <td class="AssignmentDetails-style1">
                        <asp:Label ID="Label7" runat="server" Text="סיום עבודה:"></asp:Label>
                    </td>
                    <td class="AssignmentDetails-style2">
                        <uc1:DisplayTextBox ID="DataDisplayEndDate" runat="server" TabIndex="74" EnableCalender="true"
                            AutoPostBack="false" Required="true" DisplayName="סיום עבודה" ValidationType="Date" />
                    </td>
                </tr>
                <tr>
                    <td class="AssignmentDetails-style1">
                        <asp:Label ID="LabelStatus" runat="server" Text="סטטוס העסקה:"></asp:Label>
                    </td>
                    <td class="AssignmentDetails-style2">
                        <asp:Label ID="LabelDisplayStatus" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
        </td>
        <td style="vertical-align: top">
            <asp:Label ID="LabelComment" runat="server" Text="הערות:"></asp:Label>
            <asp:LinkButton ID="ButtonToggleComment" runat="server" Text="מצב כתיבה" Visible="false"
                OnClick="ButtonToggleComment_Click"></asp:LinkButton>
            &nbsp;
            <asp:LinkButton ID="ButtonAddComment" runat="server" Text="הוסף" Visible="false"
                OnClick="ButtonAddComment_Click"></asp:LinkButton>
            <br />
            <asp:TextBox ID="TextBoxComment" runat="server" Height="200px" TextMode="MultiLine"
                Width="450px"></asp:TextBox>
        </td>
    </tr>
</table>
